package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import cn.hutool.core.annotation.Alias;

/**
 * <p>
 * 公告管理
 * </p>
 *
 *
 */
@Data
@ApiModel(value = "Notice对象", description = "公告管理")
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("Id")
    @Alias("Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("公告标题")
    @Alias("公告标题")
    private String name;

    @ApiModelProperty("公告内容")
    @Alias("公告内容")
    private String info;

    @ApiModelProperty("发布时间")
    @Alias("发布时间")
    private String createDate;


}
